package demo7;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/2/28 18:15
 */
public class ToUpperCaseDemo {
    public static void main(String[] args) {
        String str = "我爱java";
        String upper = str.toUpperCase();
        System.out.println(upper);
        String lower = str.toLowerCase();
        System.out.println(lower);
        ///////////////////////////////////
        String str1 = "我爱java";
        String upper1 = str1.toUpperCase();
        System.out.println(upper1);
        String lower1 = str1.toLowerCase();
        System.out.println(lower1);
    }
}
